<div class="photo">
    <a href="http://localhost:90/tkgd/index.php?r=site/viewalbum&id=<?php echo $data->id; ?>"
       title="<?php echo $data->ten_album; ?>">
        <img src="server/php/files/<?php echo $data->hinhs[0]->id; ?>.jpeg" />
    </a>
    <div class="image-info">
        <span class="like"><!--img src="images/like.png" /--></span>
        <a class="image-link" href="http://localhost:90/tkgd/index.php?r=site/viewalbum&id=<?php echo $data->id; ?>"><?php echo $data->ten_album; ?></a>
        <a class="user-link" href="#"><?php echo $data->idThanhVien->ten_dang_nhap; ?></a> - <?php echo count($data->hinhs); ?> ảnh
    </div>
</div>
